import React, { Component } from "react";
import Ccpn from "./Ccpn";
export default class Four extends Component {
  constructor(props) {
    super(props);
    this.state = {
      movies: ["123", "456", "789"],
    };
  }
  render() {
    return (
      <div>
        <h1>类组件</h1>
        <ul>
          {this.state.movies.map((item, index) => (
            <li key={index}>{item}</li>
          ))}
        </ul>
        <Ccpn />
      </div>
    );
  }
}
